#define _CRT_SECURE_NO_WARNINGS 1

#include"List.h"

int main()
{
	LTNode* L = NULL;
	L = ListInit(L);

	ListPushFront(L, 1);
	ListPushFront(L, 2);
	ListPushFront(L, 3);
	ListPushFront(L, 4);
	ListInsert(ListFind(L, 1), 9);
	ListErase(ListFind(L, 9));
	ListPrint(L);
	ListDistroy(L);
}